package com.gt.web.srv.service;

import com.gt.web.srv.domain.PaymentOrder;

import java.util.List;

/**
 * @Author jh
 * @Date 2024/5/16 21:48
 * @PackageName:com.gt.web.srv.service
 * @ClassName: IArticleService
 * @Description: TODO
 */
public interface PaymentOrderService {

   Long createPaymentOrder(PaymentOrder paymentOrder);


   int updatePaymentOrder(PaymentOrder paymentOrder);


   int deletePaymentOrder(Long payId);

   PaymentOrder getPaymentOrderById(Long payId);

   PaymentOrder getPaymentOrderByOutTradeNo(String outTradeNo);

   List<PaymentOrder> getPaymentOrderList(PaymentOrder paymentOrder);


   int updateTradeStatus(Long payId, Integer tradeStatus, String returnMsg);


   int updatePrepayId(Long payId, String prepayId) ;


}